package cn.yllr.tomgxianghui.service;

import cn.yllr.tomgxianghui.domain.Appointment;
import cn.yllr.tomgxianghui.entity.User;

import java.util.List;

public interface AppointmentService {
    Boolean addAp(String orderid, String customerid, String cookid, String date);
    List<Appointment> findappoint();
    List<Appointment> findappointmentByOid(String name);
    int updateOrderstatus(String orderid);
    List<Appointment> findappointByCid(String cid);
    List<Appointment> findappointByCookid(String cookid);
    int agreeAppoint(String orderid);
    int refuseAppoint(String orderid);
    int reAppoint(String orderid);
}
